Fix help-mode highlighting of advice warning (Bug#6304).
authorLeo <sdl.web@gmail.com>
Fri, 28 Jan 2011 21:42:11 +0000 (16:42 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 28 Jan 2011 21:42:11 +0000 (16:42 -0500)
commit272091e358e0b738c76aff762a51cfa26e573dcb
tree9da7fe5c6b0fde359bfefbb7237411e7a40764a3
parenta798a0293f9d897be409b35a78ddd468afb1c485
Fix help-mode highlighting of advice warning (Bug#6304).

* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
highlighting to the "this function is advisted" message.

* help-mode.el (help-mode-finish): Apply highlighting here, to
avoid clobbering by substitute-command-keys (Bug#6304).
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/help-mode.el